package com.pkk.cloud.support.oauth2.security.access;

import com.pkk.cloud.support.oauth2.client.url.EnableIgnoreUrl;
import com.pkk.cloud.support.oauth2.security.access.configuration.SecurityStarterConfiguration;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

/**
 * @Description: 开启安全访问，根据UPM中权限进行判断
 * <p>
 * 忽略部分接口的配置
 * @Author: peikunkun
 * @Date: 2020/3/21 0021 下午 4:05
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@EnableIgnoreUrl
@Import({SecurityStarterConfiguration.class})
public @interface EnableSecurityAccess {
}
